package com.smart.lx.factory.abstr;

import com.smart.lx.factory.Car;
import com.smart.lx.factory.DazhongCar;
import com.smart.lx.factory.FuteCar;
import com.smart.lx.factory.JiliCar;

/**
 * 功能描述: <br>
 * 〈实现子类〉
 * <p>
 * 继承泛化
 *
 * @since: 1.0.0
 * @Author:abc
 * @Date: 2019/3/9
 */
public class CarFactory extends  AbstractFactory {

    @Override
    public Car getFuteCar() {
        return new FuteCar();
    }

    @Override
    public Car getJiliCar() {
        return new JiliCar();
    }

    @Override
    public Car getDazhongCar() {
        return new DazhongCar();
    }

}
